@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    margin: 0 auto;
    width: 1210px;
}

.header {
    height: 80px;
    background-color: #ffffff;
    border-bottom: 1px solid #d8d8d8;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 300;
    >.container {
        height: 80px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        .logo {
            height: 40px;
            display: inline-block;
            width: 133px;
        }
        .position {
            display: inline-block;
            margin-left: 20px;
            position: relative;
            >p {
                display: inline-block;
            }
            >.trian {
                width: 10px;
                height: 5px;
                background-image: url(../../pc图片/img/sprite_webpage.png);
                background-repeat: no-repeat;
                background-position-x: 0;
                background-position-y: -63px;
                display: inline-block;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                margin-left: 7px;
            }
            >.city {
                width: 400px;
                height: 300px;
                background-color: #ffffff;
                display: none;
                position: absolute;
                top: 20px;
                overflow-y: scroll;
                >.at {
                    border-bottom: 1px solid gray;
                }
                >.other {
                    >div {
                        display: flex;
                        flex-wrap: wrap;
                        >p {
                            margin-right: 30px;
                        }
                    }
                }
            }
        }
        .position:hover {
            >.city {
                display: block;
            }
        }
        .nav {
            width: 320px;
            margin-left: 70px;
            height: 80px;
            ul {
                display: flex;
                justify-content: space-between;
                width: 320px;
                li {
                    list-style: none;
                    text-align: center;
                    width: 80px;
                    line-height: 80px;
                    a {
                        width: 80px;
                        height: 80px;
                        display: block;
                        color: #000000;
                        background-color: #ffffff;
                    }
                    a:hover {
                        color: #ef4238;
                        cursor: pointer;
                    }
                }
                li:nth-of-type(3) {
                    >a {
                        background-color: #ef4238;
                        color: #ffffff;
                    }
                }
            }
        }
        .search {
            float: right;
            width: 260px;
            position: relative;
            margin-left: 270px;
            input:first-of-type {
                width: 220px;
                height: 38px;
                padding: 0 40px 0 20px;
                display: inline-block;
                border: 1px solid #cccccc;
                background-color: #faf8fa;
                border-radius: 30px;
                color: #8f8e8f;
                outline: none;
            }
            input:last-of-type {
                width: 40px;
                height: 40px;
                position: absolute;
                left: 242px;
                top: 0;
                border-radius: 30px;
                border: none;
                background-image: url(../../pc图片/img/sprite_webpage.png);
                background-repeat: no-repeat;
                background-position-x: 0px;
                background-position-y: -0px;
                outline: none;
            }
        }
        .user {
            width: 56px;
            height: 80px;
            margin-left: 40px;
            position: relative;
            img {
                width: 40px;
                height: 40px;
                margin-top: 20px;
            }
            >.trian {
                width: 10px;
                height: 5px;
                background-image: url(../../pc图片/img/sprite_webpage.png);
                background-repeat: no-repeat;
                background-position-x: 0;
                background-position-y: -63px;
                display: inline-block;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                margin-left: 7px;
            }
            >.login {
                background-color: #ffffff;
                display: none;
                position: absolute;
                width: 40px;
                height: 50px;
                top: 70px;
                line-height: 50px;
                text-align: center;
                // top: 20px;
            }
        }
        .user:hover {
            >.login {
                display: block;
            }
        }
    }
}

.empty {
    height: 80px;
}

.nav {
    background-color: #47464a;
    .nav-con {
        width: 800px;
        margin: 0 auto;
        .nav-box {
            >ul {
                display: flex;
                justify-content: space-around;
                padding: 22px 0;
                >li {
                    list-style: none;
                    color: #999999;
                }
                >li:first-of-type {
                    color: #ef4238;
                }
            }
        }
    }
}

.rule {
    .rule-con {
        width: 760px;
        margin: 70px auto 40px;
        text-align: center;
        font-size: 10px;
        color: #9f9f9f;
        >p {
            >span {
                color: #ffb83f;
            }
        }
    }
}

.ranking-list {
    margin-bottom: 80px;
    .ranking-list-con {
        width: 950px;
        margin: 0 auto;
        .ranking-box {
            display: flex;
            justify-content: space-between;
            height: 220px;
            margin-bottom: 30px;
            >.num {
                width: 50px;
                display: flex;
                align-items: center;
                img {
                    width: 50px;
                    height: 50px;
                }
            }
            >.image {
                width: 160px;
            }
            >.info {
                width: 680px;
                display: flex;
                align-items: center;
                border-bottom: 1px solid #e5e5e5;
                .info-con {
                    width: 680px;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    .info-main {
                        >.name {
                            font-size: 24px;
                            margin-bottom: 15px;
                        }
                        >.time {
                            color: #999999;
                        }
                    }
                    .score {
                        text-align: right;
                        font-size: 44px;
                        color: #ffb400;
                        font-weight: 600;
                    }
                }
            }
        }
    }
}

.footer {
    background-color: #262426;
    padding: 55px 0;
    .container {
        >p {
            text-align: center;
            color: #666666;
        }
    }
}

.cat {
    position: fixed;
    right: 0;
    bottom: 40px;
}